package com.bwda.dsrs.base.centerbase.response;

import com.bwda.dsrs.base.centerbase.BaseSerializable;
import io.swagger.annotations.ApiModelProperty;

import java.beans.ConstructorProperties;
import java.util.List;

/**
 * @author yangjun
 * @date 2019/3/18
 */
public class CentreListResponse<T> extends BaseSerializable {
    private static final long serialVersionUID = -7628952830016632166L;
    @ApiModelProperty("数据列表")
    private List<T> dataList;

    public List<T> getDataList() {
        return this.dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }


    @Override
    public String toString() {
        return "CentreListResponse(dataList=" + this.getDataList() + ")";
    }

    public CentreListResponse() {
    }

    @ConstructorProperties({"dataList"})
    public CentreListResponse(List<T> dataList) {
        this.dataList = dataList;
    }
}
